<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
     <title>入口页面</title>
    <script src="js/mui.min.js"></script>
    <link href="css/mui.min.css" rel="stylesheet"/>
    <script type="text/javascript" charset="utf-8">
      	mui.init();
// 		function plusReady(){}
// 		if(window.plus){
// 			plusReady();
// 		}else{
// 			document.addEventListener('plusready',plusReady,false);
// 		}
    </script>
	<style>
		.title{
			background-color: #2AC845;
			margin: 0px;
		}
	</style>
</head>
<body>
	
	
	
	<script type="text/javascript">
		mui.ready(function() {
			mui.init({
				swipeBack: true, //启用右滑关闭功能
			});
			
			mui.plusReady(function() {
				var launchFlag = plus.storage.getItem("launchFlag");
                if(launchFlag) {
                    mui.openWindow({
                        url: "pages/home.html",
                        id: "home",
                        extras: {
                            mark: "index" //额外的参数，仅仅是个标识，实际开发中不用；
                        }
                    });
                } else {
                    mui.openWindow({
                        url: "guide.html",
                        id: "guide"
                    });
                }
			});
			
			
			
		});
			
	</script>
</body>
</html>